[U-Boot] [PATCH v5 29/30] env: Adjust the get_char() method to return an int