fix bug for nullptr in qfind
fix bug for nullptr in qfind

Summary: Fix bug for passing null pointer to memchr function, which requires the first argument to never be null.

Reviewed By: luciang

Differential Revision: D3432130

fbshipit-source-id: 419924dd214d9f641d3d46335dae6abbe44ca751

mqeizi/folly,mqeizi/folly,floxard/folly,Orvid/folly,facebook/folly,floxard/folly,floxard/folly,charsyam/folly,brunomorishita/folly,charsyam/folly,brunomorishita/folly,Orvid/folly,rklabs/folly,facebook/folly,facebook/folly,brunomorishita/folly,rklabs/folly,Orvid/folly,brunomorishita/folly,floxard/folly,mqeizi/folly,facebook/folly,brunomorishita/folly,rklabs/folly,floxard/folly,mqeizi/folly,charsyam/folly,mqeizi/folly,charsyam/folly,rklabs/folly,Orvid/folly,rklabs/folly,Orvid/folly,facebook/folly