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