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