ptp: Fix some locking bugs in ptp_read()