[U-Boot] [PATCH v3 10/22] Reduce casting in mtest