Return the value of property PROP of function F. If AUTOLOAD is non-nil and F is autoloaded, try to autoload it in the hope that it will set PROP. If AUTOLOAD is `macro', only do it if it's an autoloaded macro.