rstp: Remove const parameter and CONST_CAST in rstp_ref().
rstp: Lock mutex after initialization in rstp_create().