Build gprof program inside temporary directory
Build the gprof test program inside a temporary directory with user permission to create files.
This commit also gets the test to run directly from the git repository instead of the chaiwala-tests package.
Signed-off-by: Luis Araujo luis.araujo@collabora.co.uk