renamed "restrict" parameters to "restrict_"

"restrict" is a keyword since C99
the MEMFILE filesystem didn't have seek and get_size functions

This caused crashes if read_any was used
M_PI may not be defined

When building with gcc 4.7.2 and -std=c99 , M_PI is not defined