[U-Boot] [PATCH v3 10/42] common: Move bootcount functions to their header file