[FAB-9495] Fix to be able to get a specific images
[FAB-9495] Fix to be able to get a specific images

- Add grep option -P which is Perl regular expression. Since grep's
  default mode is POSIX, grep can't realize '\d'. As a result, user
  can't get a specific version of fabric's docker images
- Move the definition of CA/FABRIC/THIRDPARTY_TAG to after the line
  checking an argument. In the current script, VERSION doesn't
  reflect *_TAG.

Change-Id: Ib44f659d3746d0ab976475df385b028fb34b9f41
Signed-off-by: Nao Nishijima <ba12c351dbe96870a968dc0b0668a4a809432a94@hal.hitachi.com>

jimthematrix/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,stemlending/fabric,hyperledger/fabric,xixuejia/fabric,manish-sethi/fabric-sidedb,binhn/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,hyperledger/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric,binhn/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,jimthematrix/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,xixuejia/fabric,manish-sethi/fabric,muralisrini/fabric,manish-sethi/fabric-sidedb,binhn/fabric,xixuejia/fabric