[U-Boot] [PATCH v2 33/34] env: Adjust the get_char() method to return an int