compile: Set _topdir and _sourcedir in .rpmrc

This sets them for both rpmspec and rpmbuild.