central: set PR status to pending before triggering builds

This fixes a race condition where a build finishes before the status has been
set to pending, causing the status to move from success -> pending and stay
there forever.