[U-Boot] [PATCH v1 2/5] bootcount: Add function wrappers to handle bootcount increment and error checking