Weak lensing measurements of the APEX-SZ galaxy cluster sample