Remove unused et_get_file_size()

Additionally, tidy up some unnecessary misc.h prototypes.