replay,egl: Fix compilation errors.
 - GCC throw errors on non-static functions without prototypes in headers.
 - Fix missing prototypes error.