compile: Set _topdir and _sourcedir in .rpmmacros

This sets them for both rpmspec and rpmbuild.