afs: refactor PNewStatMount and PFlushMount