preserve an asterisk at the start when escaping a search term

follow up from https://github.com/owncloud/core/pull/12702, Fixes #12647 
not sure I undertand this... why are we calling mb_substr on $input _only_ when it starts with an '*'?