Mention the platform in the sandbox package DB directory name.

Old: '.cabal-sandbox/ghc-7.4.2-packages.conf.d'
New: '.cabal-sandbox/i386-linux-ghc-7.4.2-packages.conf.d'